﻿@using Telerik.Web.Mvc.UI
@model string
 
@{Html.Telerik().Editor()
        .Name(ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty))
        .Encode(false)
            .FileBrowser(t => t.Browse("Browse", "PictureBrowser", new { area = "Admin" })
            .Thumbnail("Thumbnail", "PictureBrowser", new { area = "Admin" })
            .Upload("Upload", "PictureBrowser", new { area = "Admin" })
            .DeleteFile("DeleteFile", "PictureBrowser", new { area = "Admin" })
            .DeleteDirectory("DeleteDirectory", "PictureBrowser", new { area = "Admin" })
            .CreateDirectory("CreateDirectory", "PictureBrowser", new { area = "Admin" }))
        .Value(Model) 
        .Tools(tools => 
                     tools.Custom(settings => settings.Html(@"<input type='button' name='btnAddCode' class='t-addCode' onclick='addCode();' />"))
               ).Render();
                        }




    
    




